package com.ruoyi.pingjiao.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CourseassessName extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private Long id;
    private Long coureassessId;
    private String name;
    private String content;
    private Long teacherId;
    private Integer percent;
    private Date createTime;
    private Date updateTime;
    private Long parentId;
    private List<CourseassessName>children=new ArrayList<>();
    private String teacherName;
    private Coureassess coureassess;
    private Integer courseId;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCoureassessId() {
        return coureassessId;
    }

    public void setCoureassessId(Long coureassessId) {
        this.coureassessId = coureassessId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getPercent() {
        return percent;
    }

    public void setPercent(Integer percent) {
        this.percent = percent;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CourseassessName{" +
                "id=" + id +
                ", coureassessId=" + coureassessId +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                ", teacherId=" + teacherId +
                ", percent=" + percent +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<CourseassessName> getChildren() {
        return children;
    }

    public void setChildren(List<CourseassessName> children) {
        this.children = children;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public Coureassess getCoureassess() {
        return coureassess;
    }

    public void setCoureassess(Coureassess coureassess) {
        this.coureassess = coureassess;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }
}
